<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
      <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
        <%@page import="entity.MyAddress" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<style>
*{
margin:0;
padding:0;
text-decoration:none;
color:black;
border:0;
}
body{
font-family:微软雅黑;
text-decoration:none;
background:rgba(240, 240, 240, 0.4);
 font-size:17px;
 
}
.box{
  text-align:center;
  color:black;
  font-size:30px;
  padding-bottom:30px;
}
table tr{
border:0;
}
table tr td{
color:black;
width:150px;
height:70px;
 border:0;
border-bottom:1px dashed #000;
text-align:center;
}
table tr td:hover{
color:#900000;
}
table tr td a:hover{
color:#900000;
}
table tr th{
color:#fff;
background:#900000;
height:90px;
border:0;
}
.shuzi{
display:inline-block;
width:25px;
height:25px;
background:rgba(0,0,0,0);
}
.shuzi a{
padding-left:6px;
text-align:center;
}
.shuzi:hover{
background:#aa0000;
border-radius:50%;
}
</style>
<body>

<h2 class="box">搜索收货地址列表</h2>
<table width="100%" border="1"  cellspacing="0" cellpadding="5">
 <tr>
  <th>Id</th>
  <th>姓名</th>
   <th>手机号码</th>
     <th>城市</th>
    <th>详细地址</th>
     <th>备注</th>
  <th>编辑</th>
  <th>删除</th>
 </tr>
<tr>
<td>${model.id}</td>
<td>${model.name}</td>
<td>${model.phone}</td>
<td>${model.city}</td>
<td>${model.address} </td>
<td>${model.remark}</td>
<td><a href="${pageContext.request.contextPath}/address/edit?id=${model.id}">编辑</a></td>
<td><a href="${pageContext.request.contextPath}/address/del?id=${address.id}"    onclick="return confirm('您确定要删除吗?');">删除</a></td>
</tr>
</table>
</body>
</html>